* sysdep.c: Integer and memory overflow issues.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:16:54 +0000 (18:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:16:54 +0000 (18:16 -0700)
commit540e89e3d4c97ebb3157d76f186519069c68e400
treefb3b7838e4580435db1e95110171c87be977976f
parent8890c0c0639da3786f0bd40f178b230698e7e2af
* sysdep.c: Integer and memory overflow issues.

(system_process_attributes): Use ptrdiff_t, not int, for command
line length.  Do not attempt to address one before the beginning
of an array, as that's not portable.
src/ChangeLog
src/sysdep.c